<?php
session_start();
require_once('models/Auth.class.php');	
require_once("configs/db_connect.php");

if (!Auth::isCheckSuccess())
{
	 header('Location: index.php');
}
else
{
	 require_once('configs/common.php'); 
	 
	 try 
	{
	 	 
	 $template = $twig->loadTemplate('find.html');	
	 $data=Translate::getPageKeys(KEYS_FILE."find.ini"); 		
	 
	 echo $template->render($data);
  
	} 
	catch (Exception $e) 
	{
		 die ('ERROR: ' . $e->getMessage());
	}
}

?>